package com.wingice.system.constant;

public class FileConstants {
    /**
     * 图片类
     */
    public static final Integer FILE_PIC = 1;
    /**
     * 文档类
     */
    public static final Integer FILE_DOC = 2;
    /**
     * 视频
     */
    public static final Integer FILE_VIDEO = 3;
    /**
     * 音乐类
     */
    public static final Integer FILE_AUDIO = 4;
    /**
     * 其它
     */
    public static final Integer FILE_OTHER = 5;

    /**
     * 文件的大小
     */
    public static final long SIZE_1_M = 1024 * 1024;
    public static final long SIZE_5_M = 1024 * 512 * 5;
    public static final long SIZE_10_M = 1024 * 1024 * 10;
    public static final long SIZE_20_M = 1024 * 1024 * 20;
    public static final long SIZE_50_M = 1024 * 1024 * 50;
    public static final long SIZE_100_M = 1024 * 1024 * 100;
    public static final long SIZE_1000_M = 1024 * 1024 * 1000L;
}
